<header class="main-header">
    <a href="javascript:;" class="logo">
        <span class="logo-mini">CRM</span>
        <span class="logo-lg"><b>百色学院社团管理系统</b></span>
    </a>
    <!-- Header Navbar: style can be found in header.less -->
    <nav class="navbar navbar-static-top">
        <!-- Sidebar toggle button-->
        <a href="javascript:;" class="sidebar-toggle" data-toggle="push-menu" role="button">
            <span class="sr-only">Toggle navigation</span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
            <span class="icon-bar"></span>
        </a>

        <div class="navbar-custom-menu">
            <ul class="nav navbar-nav">
                <li class="dropdown user user-menu">
                    <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                        <img src="" class="user-image" alt="User Image">
                        <script>
                            $.get('/member/imgUrl.do',{},function (data) {
                                var url = data.data;
                                $(".user-image").attr("src",url?url:'/js/adminlte/img/user2-160x160.jpg');
                            });
                        </script>
                        <span class="hidden-xs">
                            <!-- 获取当前登录用户的名字-->
                            <@shiro.principal property="username" />
                        </span>
                    </a>
                    <ul class="dropdown-menu-right dropdown-menu dropdown-yellow dropdown-caret dropdown-close" style="min-width: 100px;">
                        <#--<li>
                            <a href="">
                                <i class="fa fa-cog" ></i>
                                个人中心
                            </a>
                        </li>
                        <li class="divider"></li>-->
                        <li>
                            <a href="/member/profile.do">
                                <i class=" fa fa-user"></i>
                                个人中心
                            </a>
                        </li>
                        <#--<li class="divider"></li>-->
                        <#--<li>-->
                            <#--<a href="/member/profile.do">-->
                                <#--<i class=" fa fa-user"></i>-->
                                <#--成员个人中心-->
                            <#--</a>-->
                        <#--</li>-->
                        <#--<li class="divider"></li>-->
                        <li>
                            <a href="/logout.do">
                                <i class="fa fa-power-off"></i>
                                注销
                            </a>
                        </li>
                    </ul>
                </li>

            </ul>
        </div>
    </nav>
</header>